package org.example.easybuy.service;

import com.github.pagehelper.PageInfo;
import org.example.easybuy.entity.Order;

import java.util.Map;

public interface OrderService {
    PageInfo<Order> getOrderPageInfo(Map<String,Object> params);
    Order selectOrderById(int id);
    boolean updateOrderBySerial(Order order);
    boolean updateOrderStatus(Map<String,Object> params);
    boolean addOrder(Order order);
    Order selectBySerialNumber(String serialNumber);
    boolean updateOrderStatusById(int id);
}
